Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support RSC #1582

Merged
merged 1 commit into from
Jun 13, 2024
Merged

feat: support RSC #1582

merged 1 commit into from
Jun 13, 2024

Conversation

ValeraS
Copy link
Contributor

@ValeraS ValeraS commented May 15, 2024

No description provided.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@@ -8,50 +8,50 @@ export function CheckboxShowcase() {
return (
<Showcase>
<ShowcaseItem title="Size">
<p>
<div style={{marginBlock: '1em'}}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the motivation?

@@ -38,7 +34,7 @@ export const ControlLabel = React.forwardRef<HTMLLabelElement, Props>(
className={b({size, disabled}, className)}
data-qa={qa}
>
{clonedControl}
<div className={b('indicator')}>{control}</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will result in different markup, is it ok?

@gravity-ui-bot
Copy link
Contributor

Visual Tests Report is ready.

@ValeraS ValeraS marked this pull request as ready for review June 13, 2024 10:31
@ValeraS ValeraS merged commit 770d787 into main Jun 13, 2024
5 checks passed
@ValeraS ValeraS deleted the feat/rsc branch June 13, 2024 10:32
return (
<div className={b({size})} ref={ref}>
<div className={b({size})}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it a breaking change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's inner component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants